package com.hnas.ecard.dao;

import java.util.List;

import com.hnas.core.dao.BaseDao;
import com.hnas.ecard.orm.CommoditOrderDetail;
import com.hnas.ecard.service.dto.DTOCommoditOrder;
import com.hnas.ecard.service.dto.DTOCommoditOrderDetail;

public interface CommoditOrderDetailDao extends BaseDao<CommoditOrderDetail>{

	CommoditOrderDetail saveOrUpdate(CommoditOrderDetail vo);

	CommoditOrderDetail findByOrderNo(String orderNo);

	List<DTOCommoditOrder> findOrderListByAccId(String accId);

	List<DTOCommoditOrderDetail> listByOrderNo(String orderNo);

	boolean cancelOrder(String orderNo);
}
